
package com.jiajiankang.friends;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

import com.jiajiankang.R;

public class DealMessage extends Activity{
	private Button btn_back;
	private Button btn_disagree;
	private Button btn_add;
	private Button btn_agree;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.dealmessage);
	 btn_back=(Button)findViewById(R.id.dealmessage_back);
		btn_back.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent=new Intent(DealMessage.this,contacts.class);
				startActivity(intent);
			}
		});
		 btn_add=(Button)findViewById(R.id.dealmessage_add);
			btn_add.setOnClickListener(new OnClickListener() {
				
				@Override
				public void onClick(View v) {
					// TODO Auto-generated method stub
					Intent intent=new Intent(DealMessage.this,contacts.class);
					startActivity(intent);
				}
			});
			 btn_disagree=(Button)findViewById(R.id.dealmessage_disagree);
				btn_disagree.setOnClickListener(new OnClickListener() {
					
					@Override
					public void onClick(View v) {
						// TODO Auto-generated method stub
						Intent intent=new Intent(DealMessage.this,contacts.class);
						startActivity(intent);
					}
				});
				 btn_agree=(Button)findViewById(R.id.dealmessage_agree);
					btn_agree.setOnClickListener(new OnClickListener() {
						
						@Override
						public void onClick(View v) {
							// TODO Auto-generated method stub
							Intent intent=new Intent(DealMessage.this,contacts.class);
							startActivity(intent);
						}
					});
	}

	
}
